# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-pysol-cards
pkgver=0.10.1
pkgrel=0
pkgdesc="Deal PySol FC Cards"
url="https://fc-solve.shlomifish.org/"
arch="noarch"
license="MIT"
depends="python3 py3-pbr py3-random2"
makedepends="py3-setuptools"
checkdepends="py3-testtools py3-stestr py3-oslotest py3-coverage"
source="https://pypi.python.org/packages/source/p/pysol_cards/pysol_cards-$pkgver.tar.gz"
options="!check" # Requires specific version of py3-hacking
builddir="$srcdir/pysol_cards-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="40ef02fe919f961688039667b9073913acb452d163eef1a4ef71648788676c678bf615a26b1f4d562ba072167eb3629c4cc463678edff89bfdc62b0878db062c  pysol_cards-0.10.1.tar.gz"
